package com.huoniu.mapper.user;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.huoniu.facade.entity.user.UserEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@MyBatisMapper
public interface UserMapper extends BaseMapper<UserEntity> {

    Integer countUser(@Param("name") String name);

    List<UserEntity> getUserPage(@Param("name") String name, @Param("pageNo") int page, @Param("pageSize") int pageSize);
}
